import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { Field } from 'vant';
import { Checkbox, CheckboxGroup } from 'vant';
import { CountDown } from 'vant';
import { Toast } from 'vant';
import {Notify} from "vant";
import {Cell,CellGroup} from "vant";
import { Image as VanImage } from 'vant';
import { AddressList } from 'vant';
import _ from 'lodash'
import { Search } from 'vant';
import { Tab, Tabs } from 'vant';
import VueLazeLoad from 'vue-lazyload'
import { Col, Row } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Lazyload } from 'vant';
import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant';
import { Sku } from 'vant';

import { Uploader } from 'vant';

Vue.use(Uploader);

import CKEditor from '@ckeditor/ckeditor5-vue2';

Vue.use( CKEditor )
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(Sku);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(Lazyload);
import { Card } from 'vant';
import { Popup } from 'vant';
import { PasswordInput, NumberKeyboard } from 'vant';
import '@vant/touch-emulator';
Vue.use(PasswordInput);
Vue.use(NumberKeyboard);
Vue.use(Popup);
Vue.use(Card);
import { SubmitBar } from 'vant';
import { Loading } from 'vant';
import { Grid, GridItem } from 'vant';
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Loading);
Vue.use(SubmitBar);
import Base64UploadAdapter from '@ckeditor/ckeditor5-upload/src/adapters/base64uploadadapter';
// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  lazyComponent: true,
});
import { Empty } from 'vant';

Vue.use(Empty);

Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Col);
Vue.use(Row);
Vue.use(VueLazeLoad)
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Search);
Vue.use(AddressList);
Vue.use(VanImage);
import { Tag } from 'vant';
import { Picker } from 'vant';
import { NoticeBar } from 'vant';
import { ShareSheet } from 'vant';
Vue.use(ShareSheet);
Vue.use(NoticeBar);
import { Step, Steps } from 'vant';
import { DatetimePicker } from 'vant';

Vue.use(DatetimePicker);
Vue.use(Step);
Vue.use(Steps);
Vue.use(Tag);
Vue.use(Picker);
// 全局注册
import { Icon } from 'vant';

Vue.use(Icon);
import { Button } from 'vant';
import { Dialog } from 'vant';
import { Divider } from 'vant';

Vue.use(Divider);
import { AddressEdit } from 'vant';
import './assets/iconfont/iconfont.css'
Vue.use(AddressEdit);
// 全局注册
Vue.use(Dialog);
Vue.use(Field);
Vue.use(Button);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(CountDown);
Vue.use(Toast);
Vue.use(Notify)
Vue.use(CellGroup)
Vue.use(Cell)
import { Form } from 'vant';


// 全局注册

Vue.use(Form);

 import 'font-awesome/css/font-awesome.css'
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
